#define _CRT_SECURE_NO_WARNINGS 1
#include"list.h"
int main()
{
	LTNode* plist = LTInit();
	LTPushBack(plist, 1);
	LTPushBack(plist, 2);
	LTPushBack(plist,3);
	LTPushBack(plist,4);
	LTPushFront(plist, 5);
	LTPrint(plist);
	LTPopBack(plist);
	LTPopFront(plist);
	LTPrint(plist);
	LTNode* tmp = LTFind(plist,2);
	LTInsert(tmp, 9);
	LTPrint(plist);
	LTErase(tmp);
	LTPrint(plist);
	LTDestroy(&plist);

	return 0;
}